package com.sservice.commonBusiness.mapper;

import com.sservice.commonBusiness.e.File;
import com.sservice.commonBusiness.vo.FileVo;

import java.util.List;

public interface FileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    List<FileVo> queryByPage(FileVo record);

    List<File> migrationData(File data);

    int count(FileVo record);

    List<FileVo> selectByDataR(FileVo record);

    /**
     * 获取
     *
     * @param record
     * @return
     */
    List<File> selectByUrls(List<String> record);
}